package com.antgroup.seckill.business.goods.service;

import com.antgroup.seckill.business.common.vo.response.GoodsVo;
import com.antgroup.seckill.business.common.vo.response.OrderDetailVo;
import com.antgroup.seckill.business.goods.model.Order;
import com.antgroup.seckill.business.goods.model.SeckillGoods;
import com.antgroup.seckill.business.goods.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangxy
 * @since 2024-07-30
 */
public interface IOrderService extends IService<Order> {

    Order seckillGoods(GoodsVo goodsVo, User user);

    OrderDetailVo queryOrderDetailByOrderId(String orderId);
}
